<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@ include file="/common-app/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">
	<span class="color_red">*</span>团队带头人基本情况
</div>
    <table   border="0" cellspacing="0" cellpadding="0" class="t_css table01" id="person1">
    <tr>
    <td  align="right" width="20%">项目负责人：</td>
	<td colspan="3" width="60%">
		 <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
	</td>
	<td rowspan="3" align="center" width="20%">
	<c:set var="file_code8"><x:out select="$xmlData/data/content/file_code8" /></c:set>
	<div id="uploadsuccess8">
	<c:choose>
	<c:when test="${file_code8==''}">
		<img id="orgphotoImg" src="${res_app}/images/app/photo_01.jpg"  style="width:96px;height:125px" />
	 </c:when>
	<c:otherwise>
		 <img id="orgphotoImg" src="${ctx}/file/ajax-filedownload?fileCode=<x:out select="$xmlData/data/content/file_code8" />"  style="width:130px;height:159px" />
	</c:otherwise>
	</c:choose>
	<br/>
	<a href="#" style="cursor: pointer;" onclick="cilckFile('org')" id="aaa"><span style="color: blue;">[上传照片]</span></a><BR />
	</div>
	<div id="file8" style="text-align:center">
		   <input type="hidden" name="content/file_code8" id="content_file_code8"  label="照片" class="required " value="<x:out select="$xmlData/data/content/file_code8" />" />
	</div>
	 </td>	
	</tr>
	<tr>
    <td  align="right" width="20%">政治面貌：</td>
	<td width="20%"><input  name="proposal/politics_status" label="政治面貌" type="text"   class="input_css required "  value="<x:out select="$xmlData/data/proposal/politics_status" />"/></td>
	<td  align="right" width="20%">籍贯：</td>
	<td width="20%"><input  name="proposal/native_place" label="籍贯" type="text"   class="input_css required "  value="<x:out select="$xmlData/data/proposal/native_place" />"/></td>
	</tr>
	<tr>
    <td  align="right" >从事时间：</td>
	<td colspan="3">
	<c:set var="work_date"><x:out select="$xmlData/data/proposal/work_date" /></c:set>
	<cpt:date id="work_date" name="proposal/work_date" value="${work_date}" className=" required date" label="从事时间"></cpt:date> 
	</td>
	</tr>
	<tr>
		<td  align="right" nowrap="nowrap">所在具体单位<br/>(院、系、所、实验室、中心)：</td>
		<td colspan="6"><input  name="proposal/sub_dept" label="所在具体单位" type="text" class="input_css required" maxlength="100" style="width: 625px;"  value="<x:out select="$xmlData/data/proposal/sub_dept" />"/></td> 
	</tr>
    </table>
    <div class="t_bar">
	<span class="color_red">*</span>团队核心成员基本情况
</div>
	<table  id="zh_persons" border="0" cellspacing="0" cellpadding="0" class="table01" >
		<thead>
			<tr>
                <th width="7%" >选择</th>
                <th nowrap>序号</th>
				<th width="13%">姓名</th>
				<th width="11%">现从事专业<br/>或研究方向</th>
				<th width="11%">出生年月</th>
				<th width="10%">职务/职称</th>
				<th width="10%">学历</th>
				<th width="20%" nowrap="nowrap">项目分工</th>
				<th width="20%">所在单位</th>
			</tr>
		</thead>
		<tbody id="tab">
			<tr style="display: none">
				<td  align="center"  width="50px" >
					<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|ethnicity_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|graduate_college" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|subject_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|discipline_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|region_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|academician_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|org_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|tel_work" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|contact|fax" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_code" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_value" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_country_name" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_college" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|degree_year" /> 
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|address" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|prof_title_value" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|post_doctor_name"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|birth_date"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|gender_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|age"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|educate_value"/>
					<input type="hidden" name="zh_persons|zh_person[0]|iscomember" value="0"/>
					<input type="hidden" name="zh_persons|zh_person[0]|researches" label="xml"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_type_name" />
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|card_code"/>
					<input type="hidden" name="zh_persons|zh_person[0]|basic_info|major"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|email"/>
					<input type="hidden" name="zh_persons|zh_person[0]|contact|mobile"/>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]@seq_no">[index]</span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|zh_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|contact|major_work"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|birthday"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|position"></span>/<span name="zh_persons|zh_person[0]|basic_info|prof_title_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|educate_name"></span>
				</td>
				<td align="center">
					<span name="zh_persons|zh_person[0]|basic_info|work" ></span>
				</td>
				<td align="center">
					<span  name="zh_persons|zh_person[0]|basic_info|org_name" ></span>
				</td>
			</tr>
			<c:set value="0" var="index" scope="page" />
			<x:forEach select="$xmlData/data/zh_persons/zh_person" var="zh_person">
				<c:choose>
					<c:when test="${index<10}">
						<c:set value="0" var="flag" scope="page" />
					</c:when>
					<c:otherwise>
						<c:set value="" var="flag" scope="page" />
					</c:otherwise>
				</c:choose>
				<tr>
					<td  align="center"  width="50px" >
						<input type="radio" name="sel_zh_persons" onclick="setSubmitPsn()" /> 
						<c:if test="${index==0}">
							<input type="hidden" id="submit_psn" name="zh_persons/zh_person[${flag}${index}]@submit_psn" value="1" />
							<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/psn_code" value="<x:out select="$zh_person/basic_info/psn_code" />"/>
						</c:if>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/en_name" value="<x:out select="$zh_person/basic_info/en_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_value" value="<x:out select="$zh_person/basic_info/ethnicity_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/graduate_college" value="<x:out select="$zh_person/basic_info/graduate_college" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/ethnicity_name" value="<x:out select="$zh_person/basic_info/ethnicity_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_code" value="<x:out select="$zh_person/basic_info/subject_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/subject_name" value="<x:out select="$zh_person/basic_info/subject_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_code" value="<x:out select="$zh_person/basic_info/discipline_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/discipline_name" value="<x:out select="$zh_person/basic_info/discipline_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_value" value="<x:out select="$zh_person/basic_info/region_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/region_name" value="<x:out select="$zh_person/basic_info/region_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/gender_value" value="<x:out select="$zh_person/basic_info/gender_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_value" value="<x:out select="$zh_person/basic_info/card_type_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_value" value="<x:out select="$zh_person/basic_info/academician_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/academician_name" value="<x:out select="$zh_person/basic_info/academician_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/org_code" value="<x:out select="$zh_person/basic_info/org_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/tel_work" value="<x:out select="$zh_person/contact/tel_work" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/fax" value="<x:out select="$zh_person/contact/fax" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_value" value="<x:out select="$zh_person/basic_info/degree_value" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_name" value="<x:out select="$zh_person/basic_info/degree_name" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_code" value="<x:out select="$zh_person/basic_info/post_code" />" />
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_value" value="<x:out select="$zh_person/basic_info/degree_country_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_country_name" value="<x:out select="$zh_person/basic_info/degree_country_name" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_college" value="<x:out select="$zh_person/basic_info/degree_college" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/degree_year" value="<x:out select="$zh_person/basic_info/degree_year" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title" value="<x:out select="$zh_person/basic_info/prof_title" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_value" value="<x:out select="$zh_person/basic_info/prof_title_value" />" /> 
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/address" value="<x:out select="$zh_person/basic_info/address" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_value" value="<x:out select="$zh_person/basic_info/post_doctor_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/post_doctor_name" value="<x:out select="$zh_person/basic_info/post_doctor_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/age" value="<x:out select="$zh_person/basic_info/age" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_value" value="<x:out select="$zh_person/basic_info/educate_value" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_code" value="<x:out select="$zh_person/basic_info/card_code" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/card_type_name" value="<x:out select="$zh_person/basic_info/card_type_name" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/email" value="<x:out select="$zh_person/contact/email" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/contact/mobile" value="<x:out select="$zh_person/contact/mobile" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/basic_info/major" value="<x:out select="$zh_person/basic_info/major" />"/>
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/iscomember" value="0"/>
						
						<input type="hidden" name="zh_persons/zh_person[${flag}${index}]/researches" label="xml"/>
					</td>
					<td align="center">
					<span name="zh_persons/zh_person[${flag}${index}]@seq_no">${index+1}</span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/zh_name"><x:out select="$zh_person/basic_info/zh_name" /></span>
						<security:authorize ifAnyGranted="A_DAILU_PROPOSAL">
						<c:if test="${index==0 }"><a href="###" class="Blue" style="text-decoration: none;" onclick="selectFirstRadio(this);editRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_zdkjcxtd?parentTab=zh_persons&type=edit&needMeetingInfo=${param.needMeetingInfo}&psnCode=<x:out select="$zh_person/basic_info/psn_code" />&TB_iframe=true&height=440&width=900','编辑团队核心成员基本情况')">[&nbsp;设置&nbsp;]</a></c:if>
						</security:authorize>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/contact/major_work"><x:out select="$zh_person/contact/major_work" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/birthday"><x:out select="$zh_person/basic_info/birthday" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/position"><x:out select="$zh_person/basic_info/position" /></span>/<span name="zh_persons/zh_person[${flag}${index}]/basic_info/prof_title_name"><x:out select="$zh_person/basic_info/prof_title_name" /></span>
					</td>
					<td align="center"> 
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/educate_name"><x:out select="$zh_person/basic_info/educate_name" /></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/work"><c:choose><c:when test="${index==0}">项目负责人</c:when><c:otherwise><x:out select="$zh_person/basic_info/work" /></c:otherwise></c:choose></span>
					</td>
					<td align="center">
						<span name="zh_persons/zh_person[${flag}${index}]/basic_info/org_name"><x:out select="$zh_person/basic_info/org_name" /></span>
					</td>
				</tr>
				<c:set value="${index+1}" var="index" scope="page" />
			</x:forEach>
			</tbody>
	</table>
<br>

	<table border="0" cellpadding="0" cellspacing="1">
		<tr>
			<td>
				<input class="button_02" type="button" value="添加" onclick="if(checkTabLimit('zh_persons',99,'团队核心成员基本情况最多只能填写99条')){addNewRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_zdkjcxtd?parentTab=zh_persons&type=add&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','添加团队核心成员');}try{top.resizeFrame();}catch(e){};">
				&nbsp;<input class="button_02"  id="zh_psnPrev" type="button" value="上移" onclick="movePrev('zh_persons');setSubmitPsn()">
				&nbsp;<input class="button_02"  id="zh_psnNext" type="button" value="下移" onclick="moveNext('zh_persons');setSubmitPsn()">
				&nbsp;<input class="button_02"  id="zh_psnEdit" type="button" value="编辑" onclick="if(checkSubmitPsn('zh_persons'))editRow('zh_persons','${ctx}/proposal/edit/dialog/psnInfoEdit_zdkjcxtd?parentTab=zh_persons&type=edit&needMeetingInfo=${param.needMeetingInfo}&TB_iframe=true&height=440&width=900','编辑团队核心成员基本情况')">
				&nbsp;<input class="button_02"  id="zh_psnDel" type="button" value="删除" onclick="deleteSelectedRow('zh_persons','团队核心成员基本情况',1,'申请人不能被删除');"></td>
		</tr>
		</tbody>
		<tfoot>
		</tfoot>
	</table>
	<br/>
	<div class="t_bar"><span class="color_red">*</span>学习经历（从大学填起）（限10条）</div>
	<table  id="tblLearn" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="13%">起始时间</th>
						<th class="TblHead" align="center"  width="13%">结束时间</th>
						<th class="TblHead" align="center"  width="20%">院校</th> 
						<th class="TblHead" align="center"  width="20%">专业</th> 
						<th class="TblHead" align="center"  width="10%">学历</th> 
						<th class="TblHead" align="center"  width="10%">学位</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">
							<input type="radio" class="radiobutton" name="selLearn" >
						</td>
						<td align="center">&nbsp;
							<span name="learns|learn[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">&nbsp;
							<input  id="learn_start_date_[0]" name="learns|learn[0]|start_date" label="起始时间"value="" class=" required input_text date  dateCompare:learn_end_date_[0] " style="width:70px;" label="起始时间" />
						</td>
						<td align="center">&nbsp;<input  id="learn_end_date_[0]" name="learns|learn[0]|end_date" label="结束时间" value="" class=" required input_text date " style="width:70px;" label="结束日期" /> </td> 
						<td>&nbsp;<input name="learns|learn[0]|college" class="input_text required" label="院校" style="width: 80%;" maxlength="50"></input></td> 
						<td>&nbsp;<input name="learns|learn[0]|major" class="input_text required" label="专业" style="width: 80%;" maxlength="50"></input></td> 
						<td align="center">
							 <cpt:select id="educate2_[index]" key="educate"  name="learns|learn[0]|educate" onChange="initControlValue(this.id);" style="width: 80%;"></cpt:select>
					         <input type="hidden" name="learns|learn[0]|educate_value" class="required" label="学历" value=""/>
					         <input type="hidden" name="learns|learn[0]|educate_name" value=""/>
						</td>
						<td align="center">
							 <cpt:select id="degree2_[index]" key="degree"  name="learns|learn[0]|degree" onChange="initControlValue(this.id);" style="width: 80%;"></cpt:select>
					         <input type="hidden" name="learns|learn[0]|degree_value" class="required" label="学位" value=""/>
					         <input type="hidden" name="learns|learn[0]|degree_name" value=""/>
						</td>
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/learns/learn" var="learn">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">
							<input type="radio" class="radiobutton" name="selLearn" >
						</td>
						<td align="center">
							<span   name="learns/learn[${flag}${index}]@seq_no" ><x:out select="$learn/@seq_no"/></span> 
						</td>
						<td align="center">&nbsp;
							<c:set var="start_date" scope="page"><x:out select="$learn/start_date"/></c:set>
							<input  id="learn_start_date_[${flag}${index}]" value="${start_date}" label="起始时间" name="learns/learn[${flag}${index}]/start_date" class="required date input_text dateCompare:learn_end_date_[${flag}${index}]"  style="width:70px;" label="起始时间" /> 
						</td>
						<td align="center">&nbsp;
							<c:set var="end_date" scope="page"><x:out select="$learn/end_date"/></c:set>
							<input  id="learn_end_date_[${flag}${index}]" name="learns/learn[${flag}${index}]/end_date" label="结束时间" value="${end_date}" class="required date input_text " style="width:70px;" label="结束日期" /> </td> 
						<td>&nbsp;
							<input name="learns/learn[${flag}${index}]/college" class="input_text required" label="院校" value="<x:out select="$learn/college"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="learns/learn[${flag}${index}]/major" class="input_text required" label="专业" value="<x:out select="$learn/major"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td align="center">
						    <c:set var="educate_value"><x:out select="$learn/educate_value" /></c:set>
							<cpt:select id="educate2_${index}" key="educate" name="educate" onChange="initControlValue(this.id);" value="${educate_value }" style="width: 80%;"></cpt:select>
				            <input type="hidden" name="learns/learn[${flag}${index}]/educate_value" class="required" label="学历" value="<x:out select="$learn/educate_value" />"/>
				            <input type="hidden" name="learns/learn[${flag}${index}]/educate_name" value="<x:out select="$learn/educate_name" />"/>
						</td>
						<td align="center">
						    <c:set var="degree_value"><x:out select="$learn/degree_value" /></c:set>
							<cpt:select id="degree2_${index}" key="degree" name="degree" onChange="initControlValue(this.id);" value="${degree_value }" style="width: 80%;"></cpt:select>
				            <input type="hidden" name="learns/learn[${flag}${index}]/degree_value" class="required" label="学位" value="<x:out select="$learn/degree_value" />"/>
				            <input type="hidden" name="learns/learn[${flag}${index}]/degree_name" value="<x:out select="$learn/degree_name" />"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblLearn");
					</script>
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblLearn',10,'学习经历最多只能填写10条')){addNewRow('tblLearn');showDateTag('tblLearn');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblLearn','selLearn')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblLearn','selLearn')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblLearn','学习经历')">
					</td></tr>
	</table>
	<br/>
	<div class="t_bar"><span class="color_red">*</span>工作经历（限20条）</div>
	<table  id="tblWork" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="13%">起始时间</th>
						<th class="TblHead" align="center"  width="13%">结束时间</th>
						<th class="TblHead" align="center"  width="35%">单位</th> 
						<th class="TblHead" align="center"  width="25%">职务</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">
							<input type="radio" class="radiobutton" name="selWork" >
						</td>
						<td align="center">&nbsp;
							<span name="works|work[0]@seq_no" >[index]</span> 
						</td>
						<td align="center">&nbsp;
							<input  id="work_start_date_[0]" name="works|work[0]|start_date" label="起始时间"value="" class=" required input_text date  dateCompare:work_end_date_[0] " style="width:70px;" label="起始时间" />
						</td>
						<td align="center">&nbsp;<input  id="work_end_date_[0]" name="works|work[0]|end_date" label="结束时间" value="" class=" required input_text date " style="width:70px;" label="结束日期" /> </td> 
						<td>&nbsp;<input name="works|work[0]|unit" class="input_text required" label="单位" style="width: 80%;"></input></td> 
						<td>&nbsp;<input name="works|work[0]|position" class="input_text required" label="职务" style="width: 80%;"></input></td> 
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/works/work" var="work">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">
							<input type="radio" class="radiobutton" name="selWork" >
						</td>
						<td align="center">
							<span   name="works/work[${flag}${index}]@seq_no" ><x:out select="$work/@seq_no"/></span> 
						</td>
						<td align="center">&nbsp;
							<c:set var="start_date" scope="page"><x:out select="$work/start_date"/></c:set>
							<input  id="work_start_date_[${flag}${index}]" value="${start_date}" label="起始时间" name="works/work[${flag}${index}]/start_date" class="required date input_text dateCompare:work_end_date_[${flag}${index}]"  style="width:70px;" label="起始时间" /> 
						</td>
						<td align="center">&nbsp;
							<c:set var="end_date" scope="page"><x:out select="$work/end_date"/></c:set>
							<input  id="work_end_date_[${flag}${index}]" name="works/work[${flag}${index}]/end_date" label="结束时间" value="${end_date}" class="required date input_text " style="width:70px;" label="结束日期" /> </td> 
						<td>&nbsp;
							<input name="works/work[${flag}${index}]/unit" class="input_text required" label="单位" value="<x:out select="$work/unit"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="works/work[${flag}${index}]/position" class="input_text required" label="职务" value="<x:out select="$work/position"/>" style="width: 80%;" maxlength="50"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblWork");
					</script>
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblWork',20,'工作经历最多只能填写20条')){addNewRow('tblWork');showDateTag('tblWork');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblWork','selWork')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblWork','selWork')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblWork','工作经历')">
					</td></tr>
	</table>
	<br/>
	<div class="t_bar">获得重要科研学术奖励情况</div>
	<table  id="tblReward" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="18%">获奖项目名称</th>
						<th class="TblHead" align="center"  width="18%">奖励名称</th>
						<th class="TblHead" align="center"  width="10%">等级</th> 
						<th class="TblHead" align="center"  width="15%">授予机构</th> 
						<th class="TblHead" align="center"  width="15%">获奖时间</th> 
						<th class="TblHead" align="center"  width="10%">排序</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">
							<input type="radio" class="radiobutton" name="selReward" >
						</td>
						<td align="center">&nbsp;
							<span name="rewards|reward[0]@seq_no" >[index]</span> 
						</td>
						<td>&nbsp;<input name="rewards|reward[0]|grant_name" class="input_text required" label="获奖项目名称" style="width: 80%;" maxlength="50"></input></td>
						<td>&nbsp;<input name="rewards|reward[0]|reward_name" class="input_text required" label="奖励名称" style="width: 80%;" maxlength="50"></input></td>  
						<td>&nbsp;<input name="rewards|reward[0]|reward_degree" class="input_text required" label="等级" style="width: 80%;" maxlength="50"></input></td>  
						<td>&nbsp;<input name="rewards|reward[0]|awarding_bodies" class="input_text required" label="授予机构" style="width: 80%;" maxlength="50"></input></td>  
						<td align="center">&nbsp;
							<input  id="reward_start_date_[0]" name="rewards|reward[0]|start_date" value="" class=" required input_text date " style="width:70px;" label="获奖时间" />
						</td>
						<td>&nbsp;<input name="rewards|reward[0]|order" class="input_text required" label="排序" style="width: 80%;" maxlength="50"></input></td>  
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/rewards/reward" var="reward">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">
							<input type="radio" class="radiobutton" name="selReward" >
						</td>
						<td align="center">
							<span   name="rewards/reward[${flag}${index}]@seq_no" ><x:out select="$reward/@seq_no"/></span> 
						</td>
						<td>&nbsp;
							<input name="rewards/reward[${flag}${index}]/grant_name" class="input_text required" label="获奖项目名称" value="<x:out select="$reward/grant_name"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="rewards/reward[${flag}${index}]/reward_name" class="input_text required" label="奖励名称" value="<x:out select="$reward/reward_name"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="rewards/reward[${flag}${index}]/reward_degree" class="input_text required" label="等级" value="<x:out select="$reward/reward_degree"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="rewards/reward[${flag}${index}]/awarding_bodies" class="input_text required" label="授予机构" value="<x:out select="$reward/awarding_bodies"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td align="center">&nbsp;
							<c:set var="start_date" scope="page"><x:out select="$reward/start_date"/></c:set>
							<input  id="reward_start_date_[${flag}${index}]" value="${start_date}" label="获奖时间" name="rewards/reward[${flag}${index}]/start_date" class="required date input_text"  style="width:70px;"  /> 
						</td>
						<td>&nbsp;
							<input name="rewards/reward[${flag}${index}]/order" class="input_text required" label="排序" value="<x:out select="$reward/order"/>" style="width: 80%;" maxlength="50"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblReward");
					</script>
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblReward',20,'获得重要科研学术奖励情况最多只能填写20条')){addNewRow('tblReward');showDateTag('tblReward');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblReward','selReward')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblReward','selReward')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblReward','获得重要科研学术奖励情况')">
					</td></tr>
	</table>
	<br/>
	<div class="t_bar">获得人才计划支持情况</div>
	<table  id="tblSupport" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="35%">人才计划名称</th>
						<th class="TblHead" align="center"  width="35%">授予机构</th> 
						<th class="TblHead" align="center"  width="20%">授予时间</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">
							<input type="radio" class="radiobutton" name="selSupport" >
						</td>
						<td align="center">&nbsp;
							<span name="supports|support[0]@seq_no" >[index]</span> 
						</td>
						<td>&nbsp;<input name="supports|support[0]|support_name" class="input_text required" label="人才计划名称" style="width: 80%;" maxlength="50"></input></td>  
						<td>&nbsp;<input name="supports|support[0]|support_unit" class="input_text required" label="授予机构" style="width: 80%;" maxlength="50"></input></td>  
						<td align="center">&nbsp;
							<input  id="support_start_date_[0]" name="supports|support[0]|start_date" value="" class=" required input_text date " style="width:70px;" label="授予时间" />
						</td>
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/supports/support" var="support">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">
							<input type="radio" class="radiobutton" name="selSupport" >
						</td>
						<td align="center">
							<span   name="supports/support[${flag}${index}]@seq_no" ><x:out select="$support/@seq_no"/></span> 
						</td>
						<td>&nbsp;
							<input name="supports/support[${flag}${index}]/support_name" class="input_text required" label="人才计划名称" value="<x:out select="$support/support_name"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="supports/support[${flag}${index}]/support_unit" class="input_text required" label="授予机构" value="<x:out select="$support/support_unit"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td align="center">&nbsp;
							<c:set var="start_date" scope="page"><x:out select="$support/start_date"/></c:set>
							<input  id="support_start_date_[${flag}${index}]" value="${start_date}" label="授予时间" name="supports/support[${flag}${index}]/start_date" class="required date input_text"  style="width:70px;"  /> 
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblSupport");
					</script>
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblSupport',20,'获得人才计划支持情况最多只能填写20条')){addNewRow('tblSupport');showDateTag('tblSupport');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblSupport','selSupport')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblSupport','selSupport')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblSupport','获得人才计划支持情况')">
					</td></tr>
	</table>
	<br/>
	<div class="t_bar">国内外学术组织及重要学术期刊任职情况</div>
	<table  id="tblPeriodical" cellpadding="0" class="table01 t_css" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="30%">组织或期刊名称</th>
						<th class="TblHead" align="center"  width="30%">职务</th> 
						<th class="TblHead" align="center"  width="30%">任期</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">
							<input type="radio" class="radiobutton" name="selPeriodical" >
						</td>
						<td align="center">&nbsp;
							<span name="periodicals|periodical[0]@seq_no" >[index]</span> 
						</td>
						<td>&nbsp;<input name="periodicals|periodical[0]|periodical_name" class="input_text required" label="组织或期刊名称" style="width: 80%;" maxlength="50"></input></td>  
						<td>&nbsp;<input name="periodicals|periodical[0]|position" class="input_text required" label="职务" style="width: 80%;" maxlength="50"></input></td>  
						<td>&nbsp;<input name="periodicals|periodical[0]|tenure" class="input_text required" label="任期" style="width: 80%;" maxlength="50"></input></td>
					</tr>
					
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/periodicals/periodical" var="periodical">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">
							<input type="radio" class="radiobutton" name="selPeriodical" >
						</td>
						<td align="center">
							<span   name="periodicals/periodical[${flag}${index}]@seq_no" ><x:out select="$periodical/@seq_no"/></span> 
						</td>
						<td>&nbsp;
							<input name="periodicals/periodical[${flag}${index}]/periodical_name" class="input_text required" label="组织或期刊名称" value="<x:out select="$periodical/periodical_name"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="periodicals/periodical[${flag}${index}]/position" class="input_text required" label="职务" value="<x:out select="$periodical/position"/>" style="width: 80%;" maxlength="50"/>
						</td>
						<td>&nbsp;
							<input name="periodicals/periodical[${flag}${index}]/tenure" class="input_text required" label="任期" value="<x:out select="$periodical/tenure"/>" style="width: 80%;" maxlength="50"/>
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblPeriodical");
					</script>
				</tbody>
					</table>
					<table width="98%" align="center">
					<tr ><td>
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblPeriodical',20,'国内外学术组织及重要学术期刊任职情况最多只能填写20条')){addNewRow('tblPeriodical');showDateTag('tblPeriodical');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblPeriodical','selPeriodical')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblPeriodical','selPeriodical')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblPeriodical','国内外学术组织及重要学术期刊任职情况')">
					</td></tr>
	</table>
	<br/>
	  <div class="t_bar"><span class="color_red">*</span>团队带头人研究水平和组织能力自述（字数不超过500字）</div>
	 <table class="t_css" width="100%" border="0" cellpadding="0"  id="tblresume"
	    cellspacing="1">
      <tr class="li_2">
          <td>
			<textarea rows="10" cols="150"  class="input_textarea required maxlength:500 "   name='proposal/goal/resume'  label="团队带头人研究水平和组织能力自述"><x:out select="$xmlData/data/proposal/goal/resume"/></textarea>
		   <input type='hidden' name='proposal/goal/resume_hidden' id='proposal/goal/resume_hidden' value=''>
		  </td>
      </tr>
    </table>
<script type="text/javascript">
function selectFirstRadio(obj) {
	$(obj).parent('td').parent('tr').find('input[type="radio"]').attr("checked","checked");
	setSubmitPsn();
}
function checkSubmitPsn(tableId){
	<security:authorize ifNotGranted="A_DAILU_PROPOSAL">
	var tr=$("#"+tableId+" :radio:checked").parents("tr");
	if(tr.length!=0 && tr.get(0).rowIndex==2){
		scmWarn('如果您需要修改申请人信息， 请保存申请书后点击菜单“管理”>“个人信息维护”完成修改');
		return false;
	}
	</security:authorize>
	
	return true;
		
}
function cilckFile(flag){
	var fileCode = $('#content_file_code8').val();
	if(fileCode!=""){
		tb_show("上传照片", "<c:out value="${ctx}"/>/proposal/edit/dialog/updatePhoto?fileCode="+fileCode+"&flag="+flag+"&TB_iframe=true&height=250&width=530", false);
	}else{
		
		tb_show("上传照片", "<c:out value="${ctx}"/>/proposal/edit/dialog/updatePhoto?flag="+flag+"&TB_iframe=true&height=250&width=530", false);
	}
}
function psnSynchro(){
	$("span[name$='fzr_psnname']").text($("#zh_persons tr:eq(2)").find("span[name$='basic_info/zh_name']").text());
	$("span[name$='fzr_tel']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/tel_work']").val());
	$("span[name$='fzr_mobile']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/mobile']").val());
	$("span[name$='fzr_mail']").text($("#zh_persons tr:eq(2)").find("input[name$='contact/email']").val());
}
</script>